package com.cloud.gateway.fallback;

import com.cloud.gateway.rsp.Rsp;
import com.cloud.gateway.rsp.RspCode;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kangwen
 */
@RestController
public class FallbackController {

	@GetMapping("/fallback")
	public Rsp fallback() {
		return new Rsp(RspCode.FALLBACK);
	}
}
